/***********qq表情插件************/
$(function(){
    $('.emotion').qqFace({
    assign:'saytext', //给输入框赋值
    path:'http://cache.16code.com/arclist/qqface/' //表情图片存放的路径
    });
});
function replace_em(str){
str = str.replace(/\</g,'&lt;');
str = str.replace(/\>/g,'&gt;');
str = str.replace(/\n/g,'<br/>');
str = str.replace(/\[em_([0-9]*)\]/g,'<img src="http://cache.16code.com/arclist/qqface/$1.gif" border="0" />');
return str;
}